home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Sound Cards
/
Programming Sound Cards.iso
/
sound_56
/
tmake.bat
< prev
next >
Wrap
DOS Batch File
|
1995-01-01
|
2KB
|
92 lines
@ECHO OFF
REM
REM BATCH to compile all DMASTEPs (or one of them) with TASM/TLINK
REM written by Andre' Baresel (alias CYDER of GREEN APPLE!)
REM
IF "%1" == "1" GOTO ONLYONE
IF "%1" == "2" GOTO ONLYONE
IF "%1" == "3" GOTO ONLYONE
IF "%1" == "4" GOTO ONLYONE
IF "%1" == "5" GOTO ONLYONE
IF "%1" == "6" GOTO ONLYONE
IF "%1" == "7" GOTO ONLYONE
IF "%1" == "8" GOTO ONLYONE
IF "%1" == "9a" GOTO ONLYONE
IF "%1" == "9A" GOTO ONLYONE
IF "%1" == "9b" GOTO ONLYONE
IF "%1" == "9B" GOTO ONLYONE
IF "%1" == "10" GOTO ONLYONE
IF "%1" == "11" GOTO ONLYONE
IF "%1" == "12" GOTO ONLYONE
REM create 8bit mono unsigned data :
VOC2RAW TEST1.VOC /I /O
TASM DMASTEP1.ASM
TASM DMASTEP2.ASM
TASM DMASTEP3.ASM
TASM DMASTEP4.ASM
TASM DMASTEP5.ASM
TASM DMASTEP6.ASM
TASM DMASTEP7.ASM
REM create 8bit mono signed data :
VOC2RAW TEST1.VOC /I /S /O
TASM DMASTEP8.ASM
REM create 8bit stereo unsigned data :
VOC2RAW TEST1.VOC /I /R /O
TASM DMASTP9a.ASM
TASM DMASTP9b.ASM
TASM DMASTP11.ASM
REM creat 8bit mono unsigned data :
VOC2RAW TEST1.VOC /I /O
TASM DMASTP10.ASM
TASM DMASTP12.ASM
TLINK DMASTEP1.OBJ
TLINK DMASTEP2.OBJ
TLINK DMASTEP3.OBJ
TLINK DMASTEP3.OBJ
TLINK DMASTEP4.OBJ
TLINK DMASTEP5.OBJ
TLINK DMASTEP6.OBJ
TLINK DMASTEP7.OBJ
TLINK DMASTEP8.OBJ
TLINK DMASTP9a.OBJ
TLINK DMASTP9b.OBJ
TLINK DMASTP10.OBJ
TLINK DMASTP11.OBJ
TLINK DMASTP12.OBJ
DEL DMAST*.OBJ
DEL DMAST*.MAP
GOTO END
:ONLYONE
IF %1 == 8 GOTO EXTRA1
IF %1 == 9a GOTO EXTRA2
IF %1 == 9A GOTO EXTRA2
IF %1 == 9b GOTO EXTRA2
IF %1 == 9B GOTO EXTRA2
IF %1 == 10 GOTO EXTRA3
IF %1 == 11 GOTO EXTRA2
IF %1 == 12 GOTO EXTRA3
VOC2RAW TEST1.VOC /I /O
:BACK
TASM DMASTEP%1.ASM
IF ERRORLEVEL 1 GOTO END
TLINK DMASTEP%1.OBJ
DEL DMASTEP%1.MAP
DEL DMASTEP%1.OBJ
GOTO END
:EXTRA1
VOC2RAW TEST1.VOC /I /S /O
GOTO BACK
:EXTRA3
VOC2RAW TEST1.VOC /I /O
GOTO LONG
:EXTRA2
VOC2RAW TEST1.VOC /I /R /O
:LONG
TASM DMASTP%1.ASM
IF ERRORLEVEL 1 GOTO END
TLINK DMASTP%1.OBJ
DEL DMASTP%1.MAP
DEL DMASTP%1.OBJ
:END
DEL TEST1.INC